package com.xiaoshi.forms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xiaoshi.system.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统表单内容

 * </p>
 *
 * @author yuankai
 * @since 2022-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_forms_content")
public class SysFormsContent extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "content_id", type = IdType.AUTO)
    private Long contentId;

    private String contentText;

    /**
     * 字段ID
     */
    private Long fieldId;

    /**
     * 字段名称
     */
    private String fieldName;

    /**
     * 表单ID
     */
    private Long formsId;

    /**
     * 表单名称
     */
    private String formsName;

    private Long createId;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private Integer delTag;


    public static final String CONTENT_ID = "content_id";

    public static final String CONTENT_TEXT = "content_text";

    public static final String FIELD_ID = "field_id";

    public static final String FIELD_NAME = "field_name";

    public static final String FORMS_ID = "forms_id";

    public static final String FORMS_NAME = "forms_name";

    public static final String CREATE_ID = "create_id";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String DEL_TAG = "del_tag";

}
